//
//  CustomLableButton.m
//  UI05_代理回调
//
//  Created by aaaaaa on 16/6/12.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "CustomLableButton.h"

@implementation CustomLableButton

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

/*在触摸结束的时候，让代理人执行协议方法*/

- (void)touchesEnded:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    //代理人执行方法
    [self.deletage touchDidEndWith:self.text];
}

@end
